﻿using System;

namespace YJKTextTool
{
	public static class WindowsCharacterSet
	{
		public static string UnicodeToString(string strHexadecimal)
		{
			int utf = Convert.ToInt32(strHexadecimal, 16);
			return char.ConvertFromUtf32(utf);
		}

		public static string StringToUnicode(string strText, int nIndex)
		{
			int num = char.ConvertToUtf32(strText, nIndex);
			return string.Format("{0:X}", num);
		}

		public const string HYFONTS = "HY Arial Unicode MS v1";

		public const string REBAR01 = "AC00";

		public const string REBAR02 = "AC01";

		public const string REBAR03 = "AC02";

		public const string REBAR04 = "AC03";
	}
}
